package com.example.webrtcproject;

/**
 * @作者 mazhuang
 * @创建时间 2019/12/31 15:20
 * @文件描述:
 */
public class Constant {
    public static final String CLIENTA = "client_a";
    public static final String CLIENTB = "client_b";
    public static final String ROOMID = "100010";
    public static final String URL = "wss://rtc.eccalc.com:8089/ws";
    public static final String ICE_SERVER = "rtc.eccalc.com:3478";
    //    public static final String STUN = "stun:rtc.eccalc.com:3478";
    public static final String STUN = "stun:meet2.2u.chat:3478";

    public static final String CHANNEL = "channel";
    public static final String OPEN = "open";
    public static final String REGISTER = "register";//注册
    public static final String SEND = "send";//注册
    public static final String CALL = "call";//拨打
    public static final String PEER = "_peer";//自己上线成功
    public static final String NEW_PEER = "_new_peer";//对方在线
    public static final String ICE_CANDIDATE = "__ice_candidate";//
    public static final String REFUSE = "refuse";//
    public static final String AGREE = "agree";//
    public static final String CANDIDATE = "candidate";//ice互传
    public static final int VOLUME = 10;//声音调节
    public static final String TIME = "time";//声音调节
    public static final String VIDEO_TRACK_ID = "ARDAMSv0";
    public static final String AUDIO_TRACK_ID = "ARDAMSa0";
    //    public static final String VIDEO_TRACK_ID = "videotrack";
//    public static final String AUDIO_TRACK_ID = "audiotrack";
//    public static final String LOCAL_VIDEO_STREAM = "localVideoStream";
//    public static final String LOCAL_AUDIO_STREAM = "localAudioStream";
    public static final String LOCAL_VIDEO_STREAM = "ARDAMS_VIDEO";
    public static final String LOCAL_AUDIO_STREAM = "ARDAMS_AUDIO";
    public static final int VIDEO_RESOLUTION_WIDTH = 320;
    public static final int VIDEO_RESOLUTION_HEIGHT = 240;
    public static final int VIDEO_FPS = 60;
    public static final String CHANGE_CAMERA = "change_camera";
    public static final String CHANGE_TO_AUDIO = "change_to_audio";
}
